2. How should you treat calculated fields with regard to user data entry?
Make calculate fields read-only. To provide the user a visual clue, make the background color different from the other fields. Labels are good for read-only fields.
3. What's the best way to document the steps necessary to start up an application?
Scenario scripts. Every application has an implied use of the system for starting up the system and shutting it down. Although you can certainly have formal use cases for these business tasks, scenario scripts are acceptable.
4. What is the relationship between a GUI control event and a controller class method?
The events of each of the GUI control on each form have a corresponding method in their respective controllers.
5. What is a way to break up a large controller class?
Create helper classes for your controllers so that these controllers don't become too large.
6. What two packages should you create in Visual Modeler to help you separate forms from controller classes?
In Visual Modeler, create a package named Forms and another named Controllers.
7. What's the purpose of the Facade pattern?
It provides a mechanism for better organizing the interfaces between one subsystem and another. Facades are like faces between subsystemsinterfaces, to be exact. As you create the Graphical User Interface Subsystem, you need to decouple it from the other subsystems with which it interacts. For the Graphical User Interface Subsystem, controller classes perform this role well.
8. Can a controller class be responsible for more than one form?
Yes.
9. How does one form display another form?
A form displays another form by invoking the showForm method of the other form.
Day 13
1. What security features should you implement in your commercial or industrial applications?
Companies expect your applications, if deployed on the Web, to have some security mechanisms built in them to
Allow only paying customers into restricted areas on the site geared for premium content